﻿namespace WMS.FC.Domain.PersistenceObject
{
    public class POBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy { get; set; } = string.Empty;

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? ModifiedBy { get; set; }

        /// <summary>
        /// 修改人IP
        /// </summary>
        public string? ModifyIp { get; set; }

        /// <summary>
        /// 是否软删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 并发令牌
        /// </summary>
        public byte[] Timestamp { get; set; } = Array.Empty<byte>();
    }
}
